package collecion.nexd.com.newnexdcollection.presenter.IPresenter;

import java.util.List;

import collecion.nexd.com.newnexdcollection.adapter.SlidingMenuAdapter;
import collecion.nexd.com.newnexdcollection.modle.MallInfoObject;

/**
 * Created by lawrence on 2015/9/7.
 */
public interface ICollection {
    /**
     * 初始化下拉列表的城市信息
     *
     * @param city_name
     */
    void initDropList(final String city_name);

    /**
     * 初始化采集SDK
     */
    void initSDK();

    /**
     * 初始化slidingMenu列表的数据
     *
     * @param slidingMenuAdapter
     */
    void loadSlidilingMenuData(SlidingMenuAdapter slidingMenuAdapter);

    /**
     * start collection task and init params
     *
     * @param str_acquisition_cycles
     * @param str_telephone_imei
     */
    void startCollection(String str_acquisition_cycles, String str_telephone_imei, final String str_city_name, final String str_mall_name, final String str_mall_floor, final String str_user_name);


    void finishedCollection(String str_city_name, String str_mall_name, String str_mall_floor, String str_user_name, String str_acquisition_cycles);

    /**
     * 停止采集
     */
    void stopCollection();

    /**
     * 通过set的方式，将采集需要的信息设置给presenter
     *
     * @param mallInfoObjectList
     * @param cMallNameList
     */
    void setCollectionMessageList(List<MallInfoObject> mallInfoObjectList, List<String> cMallNameList);

    /**
     * 开始扫描
     */
    void startScan() throws IllegalAccessException;

    /**
     * 停止扫描
     */
    void stopScan();

    /**
     * 关闭缓存
     */
    void closeDiskLruCache();
}
